90213: xfi:filter-member-network-selection
Documentation
Owners
Name | Affiliation | Start | End | |
---|---|---|---|---|
Herm Fischer |
|
fischer@markv.com | 01-09-2008 at 00:00:00 |
References
Test Case Variations
V-01
A list of members of North America
Documentation
Inputs
- schema: filter-member-dimension-values.xsd (DTS Discovery starting point) (ID=V01)
- linkbase: filter-member-dimension-values-definition.xml
-
Function Call:
xfi:filter-member-network-selection( QName('http://xbrl.org/formula/conformance/example','concept:Location'), xs:QName('concept:NorthAmerica'), "http://xbrl.org/formula/conformance/example/role/americas", "http://xbrl.org/int/dim/arcrole/domain-member", 'descendant' )
(against file V01)
Outputs
-
Result test:
$result instance of xs:QName* and count( $result ) eq 3 and index-of($result, QName('http://xbrl.org/formula/conformance/example','concept:Mexico')) and index-of($result, xs:QName('concept:Canada')) and index-of($result, QName('http://xbrl.org/formula/conformance/example','concept:UnitedStates'))
V-02
A list of members of Oceania (2 levels of descendants)
Documentation
Inputs
- schema: filter-member-dimension-values.xsd (DTS Discovery starting point) (ID=V02)
- linkbase: filter-member-dimension-values-definition.xml
-
Function Call:
xfi:filter-member-network-selection( xs:QName('concept:Location'), xs:QName('concept:Oceania'), "http://xbrl.org/formula/conformance/example/role/oceania", "http://xbrl.org/int/dim/arcrole/domain-member", 'descendant' )
(against file V02)
Outputs
-
Result test:
$result instance of xs:QName* and count( $result ) eq 5 and index-of($result, xs:QName('concept:Australasia')) and index-of($result, xs:QName('concept:Australia')) and index-of($result, xs:QName('concept:NewZealand')) and index-of($result, xs:QName('concept:Melanesia')) and index-of($result, xs:QName('concept:Indonesia'))
V-03
A list of Oceania itself and just child subregions
Documentation
Inputs
- schema: filter-member-dimension-values.xsd (DTS Discovery starting point) (ID=V03)
- linkbase: filter-member-dimension-values-definition.xml
-
Function Call:
xfi:filter-member-network-selection( xs:QName('concept:Location'), xs:QName('concept:Oceania'), "http://xbrl.org/formula/conformance/example/role/oceania", "http://xbrl.org/int/dim/arcrole/domain-member", 'child-or-self' )
(against file V03)
Outputs
-
Result test:
$result instance of xs:QName* and count( $result ) eq 3 and index-of($result, xs:QName('concept:Australasia')) and index-of($result, xs:QName('concept:Melanesia')) and index-of($result, xs:QName('concept:Oceania'))
V-04
A list of Asia itself and subregions with highest peaks
Documentation
Inputs
- schema: filter-member-dimension-values.xsd (DTS Discovery starting point) (ID=V04)
- linkbase: filter-member-dimension-values-definition.xml
-
Function Call:
xfi:filter-member-network-selection( xs:QName('concept:Location'), xs:QName('concept:Asia'), "http://xbrl.org/formula/conformance/example/role/asia", "http://xbrl.org/int/dim/arcrole/domain-member", 'descendant-or-self' )
(against file V04)
Outputs
-
Result test:
$result instance of xs:QName* and count( $result ) eq 3 and index-of($result, xs:QName('concept:Asia')) and index-of($result, xs:QName('concept:SouthAsia')) and index-of($result, xs:QName('concept:Nepal'))
V-04a
A empty list of children of child-less member
Documentation
Inputs
- schema: filter-member-dimension-values.xsd (DTS Discovery starting point) (ID=V04a)
- linkbase: filter-member-dimension-values-definition.xml
-
Function Call:
xfi:filter-member-network-selection( xs:QName('concept:Location'), xs:QName('concept:Nepal'), "http://xbrl.org/formula/conformance/example/role/asia", "http://xbrl.org/int/dim/arcrole/domain-member", 'child' )
(against file V04a)
Outputs
-
Result test:
empty( $result )
V-05
Error of non-member concept argument as dimension member argument
Documentation
Inputs
- schema: filter-member-dimension-values.xsd (DTS Discovery starting point) (ID=V05)
- linkbase: filter-member-dimension-values-definition.xml
-
Function Call:
xfi:filter-member-network-selection( xs:QName('concept:Location'), xs:QName('concept:Mars'), "http://xbrl.org/formula/conformance/example/role/oceania", "http://xbrl.org/int/dim/arcrole/domain-member", 'child' )
(against file V05)
Outputs
-
Result test:
empty( $result )
V-06
Error of non-XBRL element argument as dimension member argument
Documentation
Inputs
- schema: filter-member-dimension-values.xsd (DTS Discovery starting point) (ID=V06)
- linkbase: filter-member-dimension-values-definition.xml
-
Function Call:
xfi:filter-member-network-selection( xs:QName('concept:Location'), xs:QName('concept:nonXbrlElement'), "http://xbrl.org/formula/conformance/example/role/oceania", "http://xbrl.org/int/dim/arcrole/domain-member", 'child' )
(against file V06)
Outputs
-
Result test:
empty( $result )
V-07
Raises an error for non-xbrl dimension element argument
Documentation
Inputs
- schema: filter-member-dimension-values.xsd (DTS Discovery starting point) (ID=V07)
- linkbase: filter-member-dimension-values-definition.xml
-
Function Call:
xfi:filter-member-network-selection( xs:QName('concept:nonXbrlElement'), xs:QName('concept:Oceania'), "http://xbrl.org/formula/conformance/example/role/oceania", "http://xbrl.org/int/dim/arcrole/domain-member", 'child-or-self' )
(against file V07)
Outputs
- Error code: xfie:invalidDimensionQName
V-08
Raises an error for an attribute declaration argument
Documentation
Inputs
- schema: filter-member-dimension-values.xsd (DTS Discovery starting point) (ID=V08)
- linkbase: filter-member-dimension-values-definition.xml
-
Function Call:
xfi:filter-member-network-selection( xs:QName('concept:anAttribute'), xs:QName('concept:Oceania'), "http://xbrl.org/formula/conformance/example/role/oceania", "http://xbrl.org/int/dim/arcrole/domain-member", 'child-or-self' )
(against file V08)
Outputs
- Error code: xfie:invalidDimensionQName
V-09
Raises an error for an xbrli namespace'ed argument
Documentation
Inputs
- schema: filter-member-dimension-values.xsd (DTS Discovery starting point) (ID=V09)
- linkbase: filter-member-dimension-values-definition.xml
-
Function Call:
xfi:filter-member-network-selection( xs:QName('xbrli:item'), xs:QName('concept:Oceania'), "http://xbrl.org/formula/conformance/example/role/foobar", "http://xbrl.org/formula/conformance/example/role/foobar", 'child-or-self' )
(against file V09)
Outputs
- Error code: xfie:invalidDimensionQName
V-10
Filter-member network is ambiguous but not referenced
Documentation
Inputs
- schema: ambiguity-test-concepts.xsd (DTS Discovery starting point) (ID=V10)
- linkbase: ambiguity-test-concepts-definition.xml
-
Function Call:
xfi:filter-member-network-selection( xs:QName('concept:Dimension'), xs:QName('concept:MemB'), "http://xbrl.org/formula/conformance/example/role/dimensions", "http://xbrl.org/int/dim/arcrole/domain-member", 'child-or-self' )
(against file V10)
Outputs
-
Result test:
$result instance of xs:QName* and count( $result ) eq 2 and index-of($result, xs:QName('concept:MemB')) and index-of($result, xs:QName('concept:MemC'))
V-11
Filter-member network that is referenced is ambiguous
Documentation
Inputs
- schema: ambiguity-test-concepts.xsd (DTS Discovery starting point) (ID=V11)
- linkbase: ambiguity-test-concepts-definition.xml
-
Function Call:
xfi:filter-member-network-selection( xs:QName('concept:Dimension'), xs:QName('concept:MemB'), "http://xbrl.org/formula/conformance/example/role/test-role", "http://xbrl.org/formula/conformance/example/arcrole/test-arcrole", 'child-or-self' )
(against file V11)
Outputs
-
Result test:
$result instance of xs:QName* and count( $result ) eq 2 and index-of($result, xs:QName('concept:MemB')) and index-of($result, xs:QName('concept:MemC'))
V-12
Filter-member network that is referenced is ambiguous but prohibited by extension linkbase
Documentation
Inputs
- schema: ambiguity-test-concepts.xsd (DTS Discovery starting point)
- linkbase: ambiguity-test-concepts-presentation.xml
- linkbase: ambiguity-test-concepts-definition.xml
- linkbase: ambiguity-test-prohibiting-arcs-definition.xml (DTS Discovery starting point) (ID=V12)
-
Function Call:
xfi:filter-member-network-selection( xs:QName('concept:Dimension'), xs:QName('concept:MemB'), "http://xbrl.org/formula/conformance/example/role/test-role", "http://xbrl.org/formula/conformance/example/arcrole/test-arcrole", 'child-or-self' )
(against file V12)
Outputs
-
Result test:
$result instance of xs:QName* and count( $result ) eq 2 and index-of($result, xs:QName('concept:MemB')) and index-of($result, xs:QName('concept:MemC'))
V-13
Filter-member network can be of any link role and arc role in any linkbase, test presentation linkbase
Documentation
Inputs
- schema: non-dim-hierarchy-concepts.xsd (DTS Discovery starting point) (ID=V13)
- linkbase: non-dim-hierarchy-presentation.xml
- linkbase: non-dim-hierarchy-definition.xml
-
Function Call:
xfi:filter-member-network-selection( xs:QName('concept:Dimension'), xs:QName('concept:MemB'), "http://xbrl.org/formula/conformance/example/role/test-role2", "http://xbrl.org/formula/conformance/example/arcrole/test-arcrole", 'child-or-self' )
(against file V13)
Outputs
-
Result test:
$result instance of xs:QName* and count( $result ) eq 2 and index-of($result, xs:QName('concept:MemB')) and index-of($result, xs:QName('concept:MemC'))
V-14
Filter-member network can be of any link role and arc role in any linkbase, test definition linkbase
Documentation
Inputs
- schema: non-dim-hierarchy-concepts.xsd (DTS Discovery starting point) (ID=V14)
- linkbase: non-dim-hierarchy-presentation.xml
- linkbase: non-dim-hierarchy-definition.xml
-
Function Call:
xfi:filter-member-network-selection( xs:QName('concept:Dimension'), xs:QName('concept:MemB'), "http://xbrl.org/formula/conformance/example/role/test-role1", "http://xbrl.org/formula/conformance/example/arcrole/test-arcrole", 'child' )
(against file V14)
Outputs
-
Result test:
$result instance of xs:QName* and count( $result ) eq 1 and $result [1] eq xs:QName('concept:MemA')
Revisions
Name | On | Details |
---|---|---|
Herm Fischer | 01-09-2008 at 00:00:00 |
|
Herm Fischer | 02-09-2008 at 00:00:00 |
|
Herm Fischer | 25-03-2009 at 00:00:00 |
|
Herm Fischer | 09-09-2010 at 00:00:00 |
|
Herm Fischer | 11-01-2011 at 00:00:00 |
|
Herm Fischer | 28-02-2011 at 10:00:00 |
|
Herm Fischer | 10-03-2011 at 23:00:00 |
|
Herm Fischer | 16-03-2011 at 11:00:00 |
|